﻿Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq);

function beginReq(sender, args) {
	// shows the Popup 
	$find('ctl00_ModalProgress').show();
}

function endReq(sender, args) {
	//  shows the Popup
  	$find('ctl00_ModalProgress').hide();
	window.scrollTo(0,0);
} 
